package com.jz.netthings.application.providerCollection.bean;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * <p>
 * 采浆记录-机器关闭
 * </p>
 *
 * @author zyl
 * @since 2019-03-25
 */
public class Poweroff implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("mlogId")
    private String mlogId;
    private Date poweroffTime;


    public String getMlogId() {
        return mlogId;
    }

    public void setMlogId(String mlogId) {
        this.mlogId = mlogId;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getPoweroffTime() {
        return poweroffTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setPoweroffTime(Date poweroffTime) {
        this.poweroffTime = poweroffTime;
    }

    @Override
    public String toString() {
        return "Poweroff{" +
        "mlogId=" + mlogId +
        ", poweroffTime=" + poweroffTime +
        "}";
    }
}
